import user

class Privileges:
    def __init__(self):
        self.privileges = ["can add post", "can delete post", "can ban user"]

    def show_privileges(self):
        print(f"An admin user has these privileges: ", end='')
        for s in self.privileges:
            print(s, end=', ')

class Admin(user.User):
    def __init__(self, first_name, last_name, age=0) -> None:
        super().__init__(first_name, last_name, age)

        self.pri = Privileges()